/**
 * Framework Tec - PassagerStresse
 *
 * @author Salma El Mohib 
 * @since 2011
 **/

package tec;

public class Repos extends PassagerAbstrait
{

    Repos(Caractere c, String nom, int destination){
	super(nom, destination);
	this.c = c;
    }
    
    public void choixPlaceMontee(Bus b){
	b.demanderPlaceAssise(this);
	if(!estAssis())
	    b.demanderPlaceDebout(this);
    }
}
	
